package com.resume.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: 梁云亮
 * @Date: 2021/7/17 9:43
 * @Describe:招聘信息表
 */

@ApiModel(value = "招聘信息表：ZhaoPinInfo")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_zhao_pin_info")
public class ZhaoPinInfo implements Serializable {
    private static final long serialVersionUID = -333984040435451133L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Integer id;

    /**
     * 公司编号
     */
    @TableField(value = "company_id")
    @ApiModelProperty(value = "公司编号")
    private Integer companyId;

    /**
     * 行业/职业编号
     */
    @TableField(value = "hang_ye_id")
    @ApiModelProperty(value = "行业/职业编号")
    private Integer hangYeId;

    /**
     * 岗位名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "岗位名称")
    private String name;

    /**
     * 职位亮点，比如：['双休','高薪','不加班']
     */
    @TableField(value = "tags")
    @ApiModelProperty(value = "职位亮点，比如：['双休','高薪','不加班']")
    private String tags;

    /**
     * 工作经验要求
     */
    @TableField(value = "experience")
    @ApiModelProperty(value = "工作经验要求")
    private String experience;

    /**
     * 招聘要求的学历编号，外键
     */
    @TableField(value = "xue_li_id")
    @ApiModelProperty(value = "招聘要求的学历编号，外键")
    private Integer xueLiId;

    /**
     * 岗位职责
     */
    @TableField(value = "duty")
    @ApiModelProperty(value = "岗位职责")
    private String duty;

    /**
     * 任职要求
     */
    @TableField(value = "requirements")
    @ApiModelProperty(value = "任职要求")
    private String requirements;

    /**
     * 工作地点所在县/区
     */
    @TableField(value = "country_id")
    @ApiModelProperty(value = "工作地点所在县/区")
    private Integer countryId;

    /**
     * 工作地点
     */
    @TableField(value = "address")
    @ApiModelProperty(value = "工作地点")
    private String address;

    /**
     * 薪资范围
     */
    @TableField(value = "salary_grade_id")
    @ApiModelProperty(value = "薪资范围")
    private Integer salaryGradeId;

    /**
     * 招聘开始时间
     */
    @TableField(value = "start_time")
    @ApiModelProperty(value = "招聘开始时间")
    private LocalDateTime startTime;

    /**
     * 招聘结束时间
     */
    @TableField(value = "end_time")
    @ApiModelProperty(value = "招聘结束时间")
    private LocalDateTime endTime;

    /**
     * 备注
     */
    @TableField(value = "info")
    @ApiModelProperty(value = "备注")
    private String info;

    /**
     * 显示排序
     */
    @TableField(value = "priority")
    @ApiModelProperty(value = "显示排序")
    private Integer priority;

    /**
     * 状态：1显示 ，2不显示
     */
    @TableField(value = "status")
    @ApiModelProperty(value = "状态：1显示 ，2不显示")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}